package com.xrs.xrseducation.area.controller;


import com.xrs.xrseducation.area.entity.Area;
import com.xrs.xrseducation.area.service.IAreaService;
import com.xrs.xrseducation.area.service.impl.AreaServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 地区码表 前端控制器
 * </p>
 *
 * @author jobob
 * @since 2020-09-18
 */
@RestController
@RequestMapping("/area/area")
public class AreaController {

    @Autowired
    AreaServiceImpl iAreaService;

    @RequestMapping("/getArea")
    public @ResponseBody Area demo(){
        return iAreaService.demo();
    }

}
